package com.iedu.demo.lgq.entity;


import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

@Table(name = "city")
@Data
public class City {
    @Id
    private Integer id;
    private Integer pid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getCityname() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    private String cityname;
    private int type;
}
